package com.exam.controller;

import com.exam.service.ShopService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;



/**
 * 商店信息
 */
@Controller
@RequestMapping("wxShop")
public class ShopController {

    @Autowired
    public ShopService shopService;

    @ResponseBody
    @RequestMapping("getShopInfo")
    public Map<String, String> getShopInfo(HttpServletRequest request) {
        return shopService.getShopInfo();
    }

}
